package com.aigou.dao;

import com.aigou.entity.Product;

import java.util.List;

public interface ProductDAO {
    //查询所有用户
    List<Product> selectAll();

    //按id查询
    Product selectById(String id);

    //插入新用户
    boolean insert(Product product);

    //删除用户
    boolean delete(String id);

    //更新用户
    boolean update(Product product);
}
